package com.koi.web.controller.demo.test;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @author ･ᴗ･
 * @description [DemoBo]
 */
@Data
public class DemoBo {

    @NotBlank(message = "{login.username}")
    private String name;

    @Range(min = 3, max = 16, message = "{login.password}")
    private String key;

    private Long number1;
    private Long number2;
    private Long number3;
    private Long number4;
}
